package controller;

import org.springframework.web.bind.annotation.*;
import vo.AjaxResult;

/**
 * Author：汤小洋
 * Date：2023-08-15 11:38
 * Description：<描述>
 */
@RestController
@RequestMapping("/path")
public class PathController {

    // @RequestMapping(value = "/test1")
    // @RequestMapping(path = "/test1", method = RequestMethod.GET)
    // @GetMapping("/test1")
    // @PostMapping("/test1")
    // @PutMapping("/test1")
    @DeleteMapping("/test1")
    public AjaxResult path() {
        System.out.println("PathController.path...........");

        System.out.println(5/0);

        return AjaxResult.success();
    }
}
